import request from '@/utils/request'

// 查询市政公厕管养导入明细列表
export function listToiletImportDetail(query) {
  return request({
    url: '/standingbook/toiletImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询市政公厕管养导入明细详细
export function getToiletImportDetail(id) {
  return request({
    url: '/standingbook/toiletImportDetail/' + id,
    method: 'get'
  })
}

// 新增市政公厕管养导入明细
export function addToiletImportDetail(data) {
  return request({
    url: '/standingbook/toiletImportDetail',
    method: 'post',
    data: data
  })
}

// 修改市政公厕管养导入明细
export function updateToiletImportDetail(data) {
  return request({
    url: '/standingbook/toiletImportDetail',
    method: 'put',
    data: data
  })
}

// 删除市政公厕管养导入明细
export function delToiletImportDetail(id) {
  return request({
    url: '/standingbook/toiletImportDetail/' + id,
    method: 'delete'
  })
}
